﻿namespace WMS6.Web.OrderMgtServiceRef
{
    using System;
    using System.CodeDom.Compiler;
    using System.Collections.Generic;
    using System.Data;
    using System.ServiceModel;

    [ServiceContract(Namespace="WMS6.Services", ConfigurationName="OrderMgtServiceRef.IOrderMgtService"), GeneratedCode("System.ServiceModel", "3.0.0.0")]
    public interface IOrderMgtService
    {
        [OperationContract(Action="WMS6.Services/IOrderMgtService/ClosePurchaseOrder", ReplyAction="WMS6.Services/IOrderMgtService/ClosePurchaseOrderResponse")]
        string ClosePurchaseOrder(List<string> poIDS, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/IOrderMgtService/ConvertSalesOrder2ShippingOrder", ReplyAction="WMS6.Services/IOrderMgtService/ConvertSalesOrder2ShippingOrderResponse")]
        string ConvertSalesOrder2ShippingOrder(List<string> orderID, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/IOrderMgtService/DeletePurchaseOrder", ReplyAction="WMS6.Services/IOrderMgtService/DeletePurchaseOrderResponse")]
        string DeletePurchaseOrder(List<string> poIDs, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/IOrderMgtService/DeleteSalesOrderInfo", ReplyAction="WMS6.Services/IOrderMgtService/DeleteSalesOrderInfoResponse")]
        string DeleteSalesOrderInfo(List<string> orderID, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/IOrderMgtService/GetAllInfoPurchaseOrder", ReplyAction="WMS6.Services/IOrderMgtService/GetAllInfoPurchaseOrderResponse")]
        DataSet GetAllInfoPurchaseOrder(PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/IOrderMgtService/GetPurchaseOrderInfoByID", ReplyAction="WMS6.Services/IOrderMgtService/GetPurchaseOrderInfoByIDResponse")]
        PurchaseOrderInfo GetPurchaseOrderInfoByID(string poID, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/IOrderMgtService/GetPurchaseOrderInfoByQueryEntity", ReplyAction="WMS6.Services/IOrderMgtService/GetPurchaseOrderInfoByQueryEntityResponse")]
        DataSet GetPurchaseOrderInfoByQueryEntity(PurchaseOrderQueryEntity purchaseOrderQueryEntity, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/IOrderMgtService/GetSalesOrderByQueryEntity", ReplyAction="WMS6.Services/IOrderMgtService/GetSalesOrderByQueryEntityResponse")]
        DataSet GetSalesOrderByQueryEntity(SalesOrderQueryEntity salesOrderQueryEntity, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/IOrderMgtService/GetSalesOrderInfoByID", ReplyAction="WMS6.Services/IOrderMgtService/GetSalesOrderInfoByIDResponse")]
        SalesOrderInfo GetSalesOrderInfoByID(string salesOrderID, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/IOrderMgtService/ImportSoByDataSet", ReplyAction="WMS6.Services/IOrderMgtService/ImportSoByDataSetResponse"), FaultContract(typeof(FaultDetail), Action="WMS6.Services/IOrderMgtService/ImportSoByDataSetFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6")]
        SalesOrderInfo ImportSoByDataSet(DataSet ds, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/IOrderMgtService/InserOnLinePurchaseOrder", ReplyAction="WMS6.Services/IOrderMgtService/InserOnLinePurchaseOrderResponse")]
        string InserOnLinePurchaseOrder(PurchaseOrderInfo purchaseOrderInfo, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/IOrderMgtService/InserPurchaseOrder", ReplyAction="WMS6.Services/IOrderMgtService/InserPurchaseOrderResponse")]
        string InserPurchaseOrder(PurchaseOrderInfo purchaseOrderInfo, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/IOrderMgtService/InsertSalesOrderInfo", ReplyAction="WMS6.Services/IOrderMgtService/InsertSalesOrderInfoResponse")]
        string InsertSalesOrderInfo(SalesOrderInfo salesOrderInfo, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/IOrderMgtService/SalesOrderCancel", ReplyAction="WMS6.Services/IOrderMgtService/SalesOrderCancelResponse")]
        string SalesOrderCancel(string orderID, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/IOrderMgtService/TJConvertSalesOrder2ShippingOrder", ReplyAction="WMS6.Services/IOrderMgtService/TJConvertSalesOrder2ShippingOrderResponse")]
        string TJConvertSalesOrder2ShippingOrder(List<string> orderID, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/IOrderMgtService/TJInsertSalesOrderInfo", ReplyAction="WMS6.Services/IOrderMgtService/TJInsertSalesOrderInfoResponse")]
        string TJInsertSalesOrderInfo(SalesOrderInfo salesOrderInfo, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/IOrderMgtService/TJUpdateOnLineSO", ReplyAction="WMS6.Services/IOrderMgtService/TJUpdateOnLineSOResponse")]
        string TJUpdateOnLineSO(SalesOrderInfo salesOrderInfo, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/IOrderMgtService/TTConvertSalesOrder2ShippingOrder", ReplyAction="WMS6.Services/IOrderMgtService/TTConvertSalesOrder2ShippingOrderResponse")]
        string TTConvertSalesOrder2ShippingOrder(List<string> orderID, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/IOrderMgtService/TTInsertSalesOrderInfo", ReplyAction="WMS6.Services/IOrderMgtService/TTInsertSalesOrderInfoResponse")]
        string TTInsertSalesOrderInfo(SalesOrderInfo salesOrderInfo, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/IOrderMgtService/TTUpdateOnLineSO", ReplyAction="WMS6.Services/IOrderMgtService/TTUpdateOnLineSOResponse")]
        string TTUpdateOnLineSO(SalesOrderInfo salesOrderInfo, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/IOrderMgtService/UpdateOnLinePurchaseOrder", ReplyAction="WMS6.Services/IOrderMgtService/UpdateOnLinePurchaseOrderResponse")]
        string UpdateOnLinePurchaseOrder(PurchaseOrderInfo purchaseOrderInfo, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/IOrderMgtService/UpdateOnLineSO", ReplyAction="WMS6.Services/IOrderMgtService/UpdateOnLineSOResponse")]
        string UpdateOnLineSO(SalesOrderInfo salesOrderInfo, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/IOrderMgtService/UpdatePurchaseOrder", ReplyAction="WMS6.Services/IOrderMgtService/UpdatePurchaseOrderResponse")]
        string UpdatePurchaseOrder(PurchaseOrderInfo purchaseOrderInfo, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/IOrderMgtService/UpdateSalesOrderInfo", ReplyAction="WMS6.Services/IOrderMgtService/UpdateSalesOrderInfoResponse")]
        string UpdateSalesOrderInfo(SalesOrderInfo salesOrderInfo, PubParasInfo pubParasInfo);
    }
}

